package kr.saeildamil.androidstudy.ch18;

import kr.saeildamil.androidstudy.R;
import kr.saeildamil.androidstudy.ch17.ActivityLifeCycle;
import kr.saeildamil.androidstudy.ch17.CallOther;
import kr.saeildamil.androidstudy.ch17.Common;
import kr.saeildamil.androidstudy.ch17.CustomTab;
import kr.saeildamil.androidstudy.ch17.SaveCurve;
import kr.saeildamil.androidstudy.ch17.SaveState;
import kr.saeildamil.androidstudy.ch17.TabTest;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch18Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch18_main);
	}
	
	public void mOnClick(View v){
		Intent intent = new Intent();
		switch(v.getId()){
		case R.id.ch18_main_btn01:
			intent.setClass(this, ApplicationTest.class);
			break;
		case R.id.ch18_main_btn02:
			intent.setClass(this, ApplicationTestConfirm.class);
			break;
		}
		startActivity(intent);
	}
}
